package com.briup.cms.service.impl;

import com.briup.cms.bean.CmsRole;
import com.briup.cms.dao.RoleDao;
import com.briup.cms.service.IRoleService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * @BelongsProject: CMS
 * @BelongsPackage: com.briup.cms.service.impl
 * @Author: 韩振阳
 * @CreateTime: 2024-11-22  09:59
 * @Description: TODO
 * @Version: 1.0
 */
@Service
public class RoleServiceImpl implements IRoleService {
    @Autowired
    private RoleDao roleDao;
    @Override
    public List<CmsRole> getAll() {
        return roleDao.selectList(null);
    }
}
